// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import fastClick from 'fastclick'
// 引入 reset css 清除一些内置样式 以及 1px.css 保证在各种 多倍像素手机屏幕上都是正常显示1px
import './assets/styles/reset.css'
import './assets/styles/border.css'

Vue.config.productionTip = false

// 解决移动端点击事件发生300毫秒延迟的bug问题
// 先在工程目录下npm install fastclick --save
// 安装完插件再引用
fastClick.attach(document.body)

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
